package com.it.schoolbookshop_back.entities.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message {
    private Integer id;
    private Integer senderId;
    private Integer receiverId;
    private Integer bookId;
    private String content;
    private Boolean isRead;
    private LocalDateTime createdAt;
}